#pragma once

#include "protos/echo_service.pb.h"
#include "protos/common.pb.h"
#include "google/protobuf/service.h"

#include <stdio.h>
#include <event.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <err.h>
#include <iostream>
#include <map>

#define EV_BASE struct event_base*
#define EVENT struct event*
#define BUFEVENT struct bufferevent *
